/**
 * @Description 宿舍-学生-学期关联类
 * @author 20155870 杨润增
 * @create 2018-05-03 14:47
 **/
package com.campus_information_portal.entity;

import com.campus_information_portal.util.DateJsonType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 20155870 杨润增
 * @className DorStuTerm
 * @Description 宿舍-学生-学期关联类
 * @create 2018-05-03 14:47
 **/
public class DorStuTerm implements Serializable{
    private Integer dormitoryApplyFormId;
    private String termYear;
    private String termNum;
    private Integer dormitoryNum;
    @JsonSerialize(using = DateJsonType.class)
    private Date applyDate;
    private String applyReason;
    @JsonSerialize(using = DateJsonType.class)
    private Date startDate;
    @JsonSerialize(using = DateJsonType.class)
    private Date endDate;
    private Integer applyState;
    private String academyName;
    private Integer stuNum;
    private String stuName;
    private Integer stuSex;

    public String getTermYear() {
        return termYear;
    }

    public void setTermYear(String termYear) {
        this.termYear = termYear;
    }

    public String getTermNum() {
        return termNum;
    }

    public void setTermNum(String termNum) {
        this.termNum = termNum;
    }

    public Integer getDormitoryNum() {
        return dormitoryNum;
    }

    public void setDormitoryNum(Integer dormitoryNum) {
        this.dormitoryNum = dormitoryNum;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public String getApplyReason() {
        return applyReason;
    }

    public void setApplyReason(String applyReason) {
        this.applyReason = applyReason;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getApplyState() {
        return applyState;
    }

    public void setApplyState(Integer applyState) {
        this.applyState = applyState;
    }

    public String getAcademyName() {
        return academyName;
    }

    public void setAcademyName(String academyName) {
        this.academyName = academyName;
    }

    public Integer getStuNum() {
        return stuNum;
    }

    public void setStuNum(int stuNum) {
        this.stuNum = stuNum;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Integer getStuSex() {
        return stuSex;
    }

    public void setStuSex(int stuSex) {
        this.stuSex = stuSex;
    }

    public Integer getDormitoryApplyFormId() {
        return dormitoryApplyFormId;
    }

    public void setDormitoryApplyFormId(Integer dormitoryApplyFormId) {
        this.dormitoryApplyFormId = dormitoryApplyFormId;
    }

    public void setStuNum(Integer stuNum) {
        this.stuNum = stuNum;
    }

    public void setStuSex(Integer stuSex) {
        this.stuSex = stuSex;
    }

    @Override
    public String toString() {
        return "DorStuTerm{" +
                "dormitoryApplyFormId=" + dormitoryApplyFormId +
                ", termYear='" + termYear + '\'' +
                ", termNum='" + termNum + '\'' +
                ", dormitoryNum=" + dormitoryNum +
                ", applyDate=" + applyDate +
                ", applyReason='" + applyReason + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", applyState=" + applyState +
                ", academyName='" + academyName + '\'' +
                ", stuNum=" + stuNum +
                ", stuName='" + stuName + '\'' +
                ", stuSex=" + stuSex +
                '}';
    }
}
